import request from '@/utils/request'

// 查询基金评估评分主体列表
export function listBfEvaluation(query) {
  return request({
    url: '/bf/bfEvaluation/list',
    method: 'get',
    params: query
  })
}

// 查询基金评估评分主体详细
export function getBfEvaluation(id) {
  return request({
    url: '/bf/bfEvaluation/' + id,
    method: 'get'
  })
}

// 查询基金评估评分主体详细
export function getBfEvaluationByDealId(dealId) {
  return request({
    url: '/bf/bfEvaluation/getByDealId/' + dealId,
    method: 'get'
  })
}

// 保存基金评估评分主体
export function saveBfEvaluation(data) {
  return request({
    url: '/bf/bfEvaluation/save',
    method: 'post',
    data: data
  })
}

// 删除基金评估评分主体
export function delBfEvaluation(id) {
  return request({
    url: '/bf/bfEvaluation/' + id,
    method: 'delete'
  })
}

// 导出基金评估评分主体
export function exportBfEvaluation(query) {
  return request({
    url: '/bf/bfEvaluation/export',
    method: 'get',
    params: query
  })
}
